package com.smart_environmental_protection.service.ServiceImp;

import com.smart_environmental_protection.dao.StoreDao;
import com.smart_environmental_protection.pojo.Store;
import com.smart_environmental_protection.service.StoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StoreServiceImp implements StoreService {
    @Autowired
    private StoreDao storeDao;

    @Override
    public List<Store> storList() {
        return storeDao.storList();
    }
}
